﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReasonToDelete.aspx.cs" Inherits="Truextend.CoffeShop.Layouts.Truextend.CoffeShop.ReasonToDelete" DynamicMasterPageFile="~masterurl/default.master" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
    
    <SharePoint:ScriptLink ID="showDailog" runat="server" Name="sp.js" Localizable="false" LoadAfterUI="true" /> 
    <script type="text/javascript">
        function CancelDialog() {
            SP.UI.ModalDialog.commonModalDialogClose(SP.UI.DialogResult.cancel, 'Cancel Clicked');
        }

        function AcceptDialog() {
            SP.UI.ModalDialog.commonModalDialogClose(SP.UI.DialogResult.OK, 'Se Registro Correctamente');
        }
    </script>

</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">        

    <div align="center"><table>
        <tr>
            <td>
                <asp:Label runat="server" ID="LblReason" Text="Reason: "></asp:Label>   
            </td>
            <td>
                <asp:TextBox runat="server" ID="TxBxReason" TextMode="MultiLine"></asp:TextBox>
            </td>
        </tr>        
        <tr>
            <td >
                <center><div >
                    <asp:Button runat="server" ID="BtnAccept" Text="Accept" onclick="BtnAccept_Click"/>            
                    <asp:Button runat="server" ID="BtnCancel" Text="Cancel" OnClientClick="CancelDialog()"/>
                </div></center>
            </td>
        </tr>
    </table></div>

</asp:Content>

<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    Reason To Delete
</asp:Content>

<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
    Reason To Delete
</asp:Content>
